package com.ctshk.rpc.order.localfun.service;

import com.ctshk.common.dto.Result;
import com.ctshk.common.model.TokenUser;
import com.ctshk.rpc.order.localfun.dto.LocalFunOrderCollectionReceiptDTO;
import com.ctshk.rpc.order.localfun.req.LocalFunOrderReceiptAddReq;
import com.ctshk.rpc.order.localfun.req.LocalFunOrderReceiptModifyReq;
import com.ctshk.rpc.order.localfun.req.LocalFunOrderReceiptReq;

/**
 * @Description
 * @Author wansi <gaylen15527491065@yeah.net>
 * @Date 2021/3/31
 */
public interface ILocalFunOrderReceiptService {
    /**
     * 新增收据
     * @param scenicOrderReceiptAddReq
     * @param currentUser
     * @return
     */
    Result<Long> add(LocalFunOrderReceiptAddReq scenicOrderReceiptAddReq, TokenUser currentUser);

    /**
     * 修改收据
     * @param scenicOrderReceiptModifyReq
     * @param currentUser
     * @return
     */
    Result<Long> modify(LocalFunOrderReceiptModifyReq scenicOrderReceiptModifyReq, TokenUser currentUser);

    /**
     * 订单收据详情
     * @param localFunOrderReceiptReq
     * @param currentUser
     * @return
     */
    Result<LocalFunOrderCollectionReceiptDTO> collectionReceipt(LocalFunOrderReceiptReq localFunOrderReceiptReq, TokenUser currentUser);
}
